<!DOCTYPE html>
<html>
<head>
<meta name="decorator" content="sysDefault" />
<title>合同模板</title>

<style type="text/css">
	.txt{ 
		border-bottom:1px solid black; /* 下划线效果 */ 
		border-top:0px; 
		border-left:0px; 
		border-right:0px; 
	} 
</style>

<script type="text/javascript">
	window.onload = function(){ 
		$("input[type='text']").each(function(){
			$(this).addClass('txt'); 
			$(this).attr('readonly','readonly'); 
		}); 
	};
	
	$(document).ready(function(){
		  $("input[type='text']").dblclick(function(){
			  $(this).removeAttr("readonly");    //去除readonly属性
			  $(this).removeClass("txt");
		  });
	});
	$(document).ready(function(){
		  $("input[type='text']").blur(function(){
			  $(this).attr("readonly","readonly");
			  $(this).addClass("txt");
		  });
	});
</script>

</head>
<body>
	${content}
</body>
</html>